<template>
  <div @click="router.push('/search')" class="home-header">首页头部</div>
</template>

<script setup lang="ts">
import { useRouter } from "vue-router";
const router = useRouter();
</script>

<style scoped>
.home-header {
  width: 100%;
  height: 40px;
  background-color: #ff623a;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
}
</style>
